package com.capgemini.rdlgae.taglib

class CheckOrderTagLib {
	
	
	def commandeService
	
	def isRead = { attrs ->
		def isRead = commandeService.isRead(attrs['date'])
		if(isRead)
		out << "<span style='color:green'>(commande lu)</span>"
		else
		out << "<span style='color:red'>(commande non lu)</span>"
	}
}
